package com.example.prison.mapper;

import com.example.prison.entity.ExitInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
* @author jiang
* @description 针对表【exit_info】的数据库操作Mapper
* @createDate 2023-06-13 09:13:13
* @Entity com.example.prison.entity.ExitInfo
*/
@Mapper
public interface ExitInfoMapper extends BaseMapper<ExitInfo> {

    @Update("update exit_info set exit_time=#{exitTime} where id = 1")
    int updateExit(@Param("exitTime")String exitTime);

}




